package com.ybkj.daijia.server.freight;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 司机充值临时记录
 *
 * @author Shine
 */
public class PayRecordOrder implements Serializable {

    /**
     *
     */
    private static final long serialVersionUID = 1L;

    private Long id;

    private Long orderId;//货运订单id

    private BigDecimal money;//金额

    private PayRecordTypeOrder payRecordTypeOrder;//支付方式

    private boolean treatment;//是否交易成功


    public Long getId() {
        return id;
    }


    public void setId(Long id) {
        this.id = id;
    }


    public Long getOrderId() {
        return orderId;
    }


    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }


    public BigDecimal getMoney() {
        return money;
    }


    public void setMoney(BigDecimal money) {
        this.money = money;
    }


    public PayRecordTypeOrder getPayRecordTypeOrder() {
        return payRecordTypeOrder;
    }


    public void setPayRecordTypeOrder(PayRecordTypeOrder payRecordTypeOrder) {
        this.payRecordTypeOrder = payRecordTypeOrder;
    }


    public boolean isTreatment() {
        return treatment;
    }


    public void setTreatment(boolean treatment) {
        this.treatment = treatment;
    }


    public enum PayRecordTypeOrder {
        /**
         * 支付宝
         */
        alipay,
        /**
         * 微信
         */
        weixin,
        /**
         * 银联支付
         */
        unionpay,
        /**
         * 翼支付
         */
        bestpay
    }


}
